module.exports = (options,app) => {
    return async (ctx,next) => {   //真正的中间件
        console.log(ctx.request.headers)
        ctx.params = {...ctx.query,...ctx.request.body};
        await next()
    }
}

// ctx  get post  ctx.params